
'use strict';

import React from 'react'

class AttributeInfo {
    constructor(x, y, width, height, pageX, pageY) {
        this.x = x;
        this.y = y;
        this.width = width;
        this.height = height;
        this.pageX = pageX;
        this.pageY = pageY;
    }
    printString = () => {
        console.log(
            "x="+this.x+","+
            "y="+this.y+","+
            "width="+this.width+","+
            "height="+this.height+","+
            "pageX="+this.pageX+","+
            "pageY="+this.pageY
        );
    }
}

export default AttributeInfo;